﻿
//********************************************************
//创建时间:2012/10/8 14:13:12
//作者：叶燕鑫
//文件内容:
//********************************************************

using System;
using System.Configuration;
using System.Data;
namespace IHISCETeim.Model
{	
    /// <summary>
    /// 1.应收账款主表(FTradeReceivables)
    /// </summary>
	[Serializable]
	public partial class FTradeReceivablesInfo
  	{
		#region 属性
		/// <summary>
		/// 序列号id  自动增长
		///
		/// </summary>
		public int  FTradeID
		{
			get;set;			
		}
		/// <summary>
		/// 合同号  
		///
		/// </summary>
		public string  HeTongHao
		{
			get;set;			
		}
		/// <summary>
		/// 销售时间  
		///
		/// </summary>
		public DateTime  XiaoShouShiJian
		{
			get;set;			
		}
		/// <summary>
		/// 型号  
		///
		/// </summary>
		public string  XingHao
		{
			get;set;			
		}
		/// <summary>
		/// 机号  
		///
		/// </summary>
		public string  JiHao
		{
			get;set;			
		}
		/// <summary>
		/// 经销商  
		///
		/// </summary>
		public string  JingXiaoShang
		{
			get;set;			
		}
		/// <summary>
		/// 营业经理  
		///
		/// </summary>
		public string  YingYeJingLi
		{
			get;set;			
		}
		/// <summary>
		/// 单价  
		///
		/// </summary>
		public decimal  Price
		{
			get;set;			
		}
		/// <summary>
		/// GPS费用  
		///
		/// </summary>
		public decimal  GPSFeiYong
		{
			get;set;			
		}
		/// <summary>
		/// 月促销折让金额  金额为负数
		///
		/// </summary>
		public decimal  YueCuXiaoJinE
		{
			get;set;			
		}
		/// <summary>
		/// 合同金额  单价+GPS费用+月促销折让金额
		///
		/// </summary>
		public decimal  HeTongJinE
		{
			get;set;			
		}
		/// <summary>
		/// 合同付款条款  
		///
		/// </summary>
		public string  FuKuanTiaoKuan
		{
			get;set;			
		}
		/// <summary>
		/// 到期日  只有当销售方式为全款时,才会显示到期日,否则为空
		///
		/// </summary>
        public string DaoQiRi
		{
			get;set;			
		}
		/// <summary>
		/// 普票开票日期  
		///
		/// </summary>
		public string  PPKPRiQi
		{
			get;set;			
		}
		/// <summary>
		/// 普票开票号码  
		///
		/// </summary>
		public string  PPKPHaoMa
		{
			get;set;			
		}
		/// <summary>
		/// 普票开票金额  
		///
		/// </summary>
		public decimal  PPKPJinE
		{
			get;set;			
		}
		/// <summary>
		/// 专票开票日期  
		///
		/// </summary>
		public string  ZPKPRiQi
		{
			get;set;			
		}
		/// <summary>
		/// 专票开票号码  
		///
		/// </summary>
		public string  ZPKPHaoMa
		{
			get;set;			
		}
		/// <summary>
		/// 专票开票金额  
		///
		/// </summary>
		public decimal  ZPKPJinE
		{
			get;set;			
		}
		/// <summary>
		/// 发票签收人  
		///
		/// </summary>
		public string  FaPiaoQianShouRen
		{
			get;set;			
		}
		/// <summary>
		/// 已收款项  
		///
		/// </summary>
		public decimal  YiShouKuanXiang
		{
			get;set;			
		}
		/// <summary>
		/// 未收款项  
		///
		/// </summary>
		public decimal  WeiShouKuanXiang
		{
			get;set;			
		}
		/// <summary>
		/// 逾期款项  
		///
		/// </summary>
		public decimal  YuQiKuanXiang
		{
			get;set;			
		}
		/// <summary>
		/// 当前销售类型  
		///
		/// </summary>
		public string  XiaoShouLeiXing
		{
			get;set;			
		}
		/// <summary>
		/// 当前销售类型表ID  
		///
		/// </summary>
		public int  FTradeSalesId
		{
			get;set;			
		}
		/// <summary>
		/// 终端销售状态  
		///
		/// </summary>
		public string  ZDXiaoShouState
		{
			get;set;			
		}
		/// <summary>
		/// 终端用户  
		///
		/// </summary>
		public string  ZDYongHu
		{
			get;set;			
		}
		/// <summary>
		/// 终端销售时间  
		///
		/// </summary>
		public string  ZDXiaoShouShiJian
		{
			get;set;			
		}
		/// <summary>
		/// 终端售价  
		///
		/// </summary>
		public decimal  ZDShouJia
		{
			get;set;			
		}
		/// <summary>
		/// 数量  退换机时为-1,否则为1
		///
		/// </summary>
		public short  ShuLiang
		{
			get;set;			
		}
		/// <summary>
		/// 机器状态  正常,换机,退机
		///
		/// </summary>
		public string  JiQiState
		{
			get;set;			
		}
        /// <summary>
        /// 用于财务周报导出,当修改销售类型时也需要改原来记录的此字段
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// GPS号码,周报导出用
        /// </summary>
        public string GPSNum { get; set; }
        /// <summary>
        ///币种 
        /// </summary>
        public string Currency { get; set; }

        /// <summary>
        ///外币金额 
        /// </summary>
        public decimal CurrencyAmount { get; set; }

        /// <summary>
        ///汇率 
        /// </summary>
        public decimal Rate { get; set; }
		#endregion

        /// <summary>
        ///返还利息额 
        /// </summary>
        public decimal FanHuanLiXi { get; set; }
        /// <summary>
        ///返还利息状态 空(表示未付完)
        ///逾期(有逾期付款的)
        ///正常(已结算)
        ///正常(未结算)
        /// </summary>
        public string FanHuanLiXiState { get; set; }
        /// <summary>
        /// 合同原件
        /// </summary>
        public string HeTongYuanJian { get; set; }
        /// <summary>
        /// 合同原件收到日期
        /// </summary>
        public string HeTongYuanJianDate { get; set; }
        /// <summary>
        /// 收货凭证原件
        /// </summary>
        public string ShouHouYuanJian { get; set; }
        /// <summary>
        /// 收货凭证原件收到日期
        /// </summary>
        public string ShouHouYuanJianDate { get; set; }
        /// <summary>
        /// 利息收入
        /// </summary>
        public decimal InterestIncome { get; set; }
    }
}
